package com.sc.nft.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.sc.nft.entity.DaoCollectionGiveLog;
import com.sc.nft.entity.vo.GetDaoCollectionGiveLogPageVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;

/**
 * @author 朱梦晨
 * @Description:
 * @date 2024-10-23
 */
@Mapper
public interface DaoCollectionGiveLogMapper extends BaseMapper<DaoCollectionGiveLog> {


    Page<GetDaoCollectionGiveLogPageVO>getDaoCollectionGiveLogPage(Page page, @Param("giveUserTel") String giveUserTel,
                                                                   @Param("receiveUserTel") String receiveUserTel, @Param("collectionId") Long collectionId,
                                                                   @Param("startTime") Date startTime, @Param("endTime") Date endTime);
}
